<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>132.给沾满雾气的玻璃刮一刮</title>
  <link href="./style.css" rel="stylesheet">
</head>
<body>
  <div id="scratch"></div>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.2.4/jquery.js"></script>
  <script src="./wScratchPad.min.js"></script>
  <script>
    $('#scratch').wScratchPad({
      size        : 150,          // The size of the brush/scratch.
      bg          : './img2.jpg',  // Background (image path or hex color).
      fg          : './img1.jpg',  // Foreground (image path or hex color).
    });
  </script>
</body>
</html>
